const baseWidget = this.getApiPage().getApiWidgetByAliasName('三维组件');
const sullivan = baseWidget?.widgetObj?.sullivan;
// 默认16分屏
const container = $("#sullivan-display").find('.card-panel-footer');
if (!$('#sullivan-style').length) {
  container.append(`
    <style id="sullivan-style">
      #sullivan-display .lay-page-container {
        position: absolute;
        top: 0;
        left: 50%;
        width: 300px;
        transform: translateX(-50%);
        display: flex;
        justify-content: center;
      }
    </style>
  `);
}

sullivan?.insertWidget('视频分页组件', container);
